package com.xg.mina.message;

public class RtmpHeader{
    private BasicHeader basicHeader;
    private MessageHeader messageHeader;

    public BasicHeader getBasicHeader() {
        return basicHeader;
    }

    public void setBasicHeader(BasicHeader basicHeader) {
        this.basicHeader = basicHeader;
    }

    public MessageHeader getMessageHeader() {
        return messageHeader;
    }

    public void setMessageHeader(MessageHeader messageHeader) {
        this.messageHeader = messageHeader;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("RtmpHeader{");
        sb.append("basicHeader=").append(basicHeader);
        sb.append(", messageHeader=").append(messageHeader);
        sb.append('}');
        return sb.toString();
    }
}
